/*! @file sqldlg.h
  * @brief Definition of SqlDlg Class
  * A Dialog to load SQL Snippets
  * @author AK
  * @date 01.07.2012
  */

#ifndef SQLDLG_H
#define SQLDLG_H

#include <QDialog>
#include "defines.h"
#include "ui_sqldlg.h"

//! @brief Definition of SqlDlg Class
class SqlDlg : public QDialog,
    public Ui::SqlDlg
{
    Q_OBJECT

Q_SIGNALS:
    void okButtonClicked(QString);

public:
    SqlDlg(QWidget *parent = 0);

private:
    QString f_sqlTypedUrlSorted;
    QString sqlEmpty;
    QString sqlListTables;
    QString sqlListViews;

private Q_SLOTS:
    void on_okButtonClicked();
    void setTextG1();   // generic free
    void setTextG2();   // generic list tables
    void setTextG3();   // generic list views
    void setTextF1();   // firefox free
    void setTextF2();   // firefox typed urls
    void setTextA1();   // android free
};

#endif // SQLDLG_H
